WP_Statistics\Dependencies\DeviceDetector\Parser\AbstractParser S

Total Complexity 37
Dependencies 7
Dependents 0
Total lines 405
Lines of code 137
Logical lines of code 70
Comment lines 103
Methods 18
Properties 11

Methods 18

Method Rating Maintainability Complexity Lines of code
getRegexes()
S
54 5 21
preMatchOverall()
S
55 5 18
matchUserAgent()
S
58 3 16
applyClientHintMapping()
S
64 4 10
buildVersion()
S
60 3 12
setVersionTruncation()
S
62 2 13
getYamlParser()
S
72 2 6
buildByMatch()
S
64 2 9
getCache()
S
72 2 6
getRegexesDirectory()
S
80 1 3
parse()
S
100 1 0
__construct()
S
77 1 4
setYamlParser()
S
81 1 3
setCache()
S
81 1 3
getName()
S
82 1 3
setClientHints()
S
81 1 3
setUserAgent()
S
81 1 3
fuzzyCompare()
S
74 1 4